/* 用户信息区域样式 */
.red-user-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px 3px 12px;
    line-height: normal;
}

.red-user-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.red-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.red-user-avatar img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    border-radius: 50%;
}

.red-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-primary-alt);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.red-avatar-upload-icon {
    font-size: 20px;
    opacity: 0.6;
}

.red-avatar-placeholder:hover {
    background-color: var(--background-modifier-border);
}

.red-avatar-placeholder:hover .red-avatar-upload-icon {
    opacity: 0.8;
}

.red-user-meta {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.red-user-name-container {
    display: flex;
    align-items: center;
    gap: 4px;
}

.red-user-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-normal);
    cursor: pointer;
}

.red-user-id {
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
}

.red-user-right {
    color: var(--text-muted);
    font-size: 14px;
}

/* 编辑输入框样式 */
.red-user-edit-input {
    border: none;
    border-bottom: 1px solid var(--background-modifier-border);
    outline: none;
    padding: 2px 4px;
    font-size: inherit;
    font-family: inherit;
    background: transparent;
    color: var(--text-normal);
}

/* 悬停效果 */
.red-user-avatar:hover,
.red-user-name:hover,
.red-user-id:hover {
    opacity: 0.8;
}